//
//  Common.h
//  BaiTuan
//
//  Created by 看着太阳吃烧饼 on 15/12/15.
//  Copyright © 2015年 YR. All rights reserved.
//

#ifndef Common_h
#define Common_h

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height

#define iOS8 ([[UIDevice currentDevice].systemVersion floatValue] >= 8.0)

#pragma mark - Nearby Cyr

//#define kNearbyTableCell @"kNearbyTableCell"

#define apikey @"68052a10323161cbc855a2a7621a3c0b"
//urls
#define shop_detail @"http://apis.baidu.com/baidunuomi/openapi/shopinfo"
#define shop_city @"http://apis.baidu.com/baidunuomi/openapi/searchshops"
#define deal_classify @"http://apis.baidu.com/baidunuomi/openapi/categories"
#define deal_detail @"http://apis.baidu.com/baidunuomi/openapi/dealdetail"

//notification identifier
#define kLocateNotificationIdentifier @"locationNotification"
#define kcategryNotificationIdentifier @"categryNotification"

//network request source
#define  searchDeals @"http://apis.baidu.com/baidunuomi/openapi/searchdeals"
#define  cities @"http://apis.baidu.com/baidunuomi/openapi/cities"


#endif /* Common_h */
